<div id="report_data_<%= this.id%>" title="<%= this.fullName%>">
	<table class="report-data-table">
		<thead>
			<tr class="table-header-row">
				<td class="table-header-main"><%= this.captions[0]%></td>
				
				<%for(var k = 1; k < this.captions.length; k++) { %>
					<td class="table-header"><%= this.captions[k]%></td>
				<%}%>
			</tr>
		</thead>
		<tbody>			
			<%for(var i = 0; i < this.report_data.length ; i++) {%>
				<tr>
					<%for(var j = 0; j < this.dimensions; j++) {
						if ( j == 0 ) { %>
							<td><%= $.plot.formatDate(  new Date(this.data[i][0] ), '%d %b %y' )%></td>
						<%}
						else {
					%>						
						<td class="table-value"><%= this.data[i][j]%></td>
					<%}
					}%>
				</tr>
			<%}%>		
		</tbody>
	</table>
</div>
<script type="text/javascript">
	$(function() {
		 $("#report_data_<%= this.id%>").dialog( {autoOpen: false, modal: true, maxWidth: 500, height: 500, position:'center' });
	} );
</script>